﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Idiomas.ascx.cs" Inherits="RzCorportativo.Views.Idiomas" %>
<div class="span12 well">
    <div class="controls controls-row">
        <asp:TextBox runat="server" ID="Nome" placeholder="Idioma" type="text" name="complete"
            value="" auto-complete="true" eid="descricao" requesttype="post" contenttype="application/json; charset=utf-8"
            isasync="true" length="1" datatype="json" templeted="true" onrender="getItemIdioma"
            onerror="getErrorIdioma" onselected="selectedItemIdioma" data-toggle="tooltip"
            title="Idioma" data-placement="left" />
        <asp:HiddenField runat="server" ID="IdiomaId" />
    </div>
    <div class="controls controls-row">
        <asp:DropDownList runat="server" ID="Nivel" Width="260">
            <asp:ListItem Text="Nível" Value="" />
            <asp:ListItem Text="Básico" Value="B" />
            <asp:ListItem Text="Intermediário" Value="I" />
            <asp:ListItem Text="Avançado" Value="A" />
        </asp:DropDownList>
    </div>
    <div class="controls controls-row">
        <asp:Button Text="adicionar" runat="server" CssClass="btn btn-success" ID="btnAdionaIdioma" />
    </div>
</div>
<br />
<div dataspy="">
    <table class="table table-hover" id="gridIdiomas" runat="server">
        <thead>
            <tr>
                <th>
                    IDIOMA
                </th>
                <th>
                    NÍVEL
                </th>
                <th>
                    #
                </th>
            </tr>
        </thead>
        <tbody>
        </tbody>
    </table>
</div>
<script src="<%=this.ResolveUrl("~/Recursos/j/IdiomaNovo.js")%>" type="text/javascript"></script>
<script type="text/javascript">
    usuarioId = "<%=(RzCorportativo.AppSession.Login.Usuario ?? new RzCorportativo.Lib.Usuario()).UsuarioId.ToString()%>";
</script>
